#!/usr/bin/env bash
BASE_PATH="$(dirname $0)"
ISTIOCTL_IMAGE=$(helm template $BASE_PATH | sed -n "s/# comment_image istioctl_image: //gp")
helm template $BASE_PATH | docker run --rm -i "$ISTIOCTL_IMAGE" istio-gen
